package com.example.springboottest.student.service;

import com.example.springboottest.student.dao.StudentMajorDao;
import com.example.springboottest.student.entity.StudentMajorEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class StudentMajorServiceImpl implements StudentMajorService{

    @Autowired
    StudentMajorDao studentMajorDao;
    @Override
    public List<StudentMajorEntity> findAll(Map map) {
        return studentMajorDao.findAll(map);
    }
}
